Scanning with magnetic resonance imaging